CustomMargins

Page margins in points. One point equals 1/72 of an inch.

Since

7.13

Functions

Link copied to clipboard
open fun bottom(): Int
Returns the margin on the bottom side of the sheet.
Link copied to clipboard
Creates default margins for the web page.
Link copied to clipboard
open fun left(): Int
Returns the margin on the left side of the sheet.
Link copied to clipboard
open fun none(): PageMargins
Creates empty margins for the web page.
Link copied to clipboard
open fun of(left: Int, right: Int, top: Int, bottom: Int): PageMargins.CustomMargins
Creates custom margins for the web page in points.
Link copied to clipboard
open fun right(): Int
Returns the margin on the right side of the sheet.
Link copied to clipboard
open fun top(): Int
Returns the margin on the top side of the sheet.